package com.lcq.subject.application.convert;

import com.lcq.subject.application.dto.SubjectInfoDTO;
import com.lcq.subject.application.dto.SubjectLabelDTO;
import com.lcq.subject.domain.entity.SubjectInfoBO;
import com.lcq.subject.domain.entity.SubjectLabelBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectInfoDTOConverter {
    
    SubjectInfoDTOConverter INSTANCE = Mappers.getMapper(SubjectInfoDTOConverter.class);
    
    SubjectInfoBO convertDtoToBo(SubjectInfoDTO subjectInfoDTO);
    
    SubjectInfoDTO convertBOToDTO(SubjectInfoBO bo);

    SubjectInfoBO convertDTOToBO(SubjectInfoDTO subjectInfoDTO);

    List<SubjectInfoDTO> convertBOToDTOList(List<SubjectInfoBO> boList);
}
